* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #FFF8F0;
  /* Moves background here so links don't inherit it */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  margin-top: 5px;
}

nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav ul li {
  list-style: none;
  margin: 15px;
  padding: 10px;

}

nav ul li a {
  text-decoration: none;
  background: transparent;
  color: #4B2E2B;
}

.left {
  padding: 20px;
  font-size: 1.5rem;
}

.Letstalk {
  margin-right: 60px;
  background-color: #C08552;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 32px 0 32px 0;
}

.Letstalk:hover {
  background-color: #4B2E2B;
  color: white;
}

.Letstalk:hover a {
  color: #FFFFFF;
}


#Home {
  display: flex;
  justify-content: space-evenly;
  margin-top: 30px;
}

.leftSection {
  width: 35%;
  height: 39rem;
  text-align: left;
}

.hello {
  text-transform: capitalize;
  font-size: 20px;
}

.herosection {
  margin-top: 30px;
}

.heroname {
  font-size: 100px;
  font-weight: 600;
}

.herodetails {
  font-weight: 500;
  font-size: 45px;
  margin-top: 10px;
}

.herod {
  margin-top: 20px;
  font-size: 20px;
  letter-spacing: 1.5px;
  word-spacing: 2px;
  font-weight: 400;
}

.heroabout {
  margin-top: 40px;
  font-style: italic;
  word-spacing: 5px;
}

.herosign {
  align-items: center;
  display: flex;
  margin-top: 50px;
}

.heros {
  width: 32%;
  padding: 10px;
  background-color: #C08552;
  border-radius: 25px;
  text-align: center;
  text-decoration: none;
  margin-right: 30px;
  color: #4B2E2B;
}

.herot {
  width: 32%;
  padding: 10px;
  border-width: 2px;
  border-style: solid;
  border-color: #C08552;
  border-radius: 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  color: #4B2E2B;
}

.heros:hover {
  transform: scale(1.07);
  background-color: #4B2E2B;
  color: white;
}

.herot:hover {
  transform: scale(1.07);
  border-color: #4B2E2B;
  color: #4B2E2B;
}


.logos {
  margin-top: 50px;
  display: flex;
  align-items: center;
}

.linkedin,
.github,
.leetcode,
.email {
  align-items: center;
  justify-content: center;
  margin-right: 30px;

  font-size: 30px;
  color: #4B2E2B;

  transition: all 0.2s ease;
  /* Optional: smooth transition if you add hover effects later */
}

/* Base structural font override */
.ID,
.ID * {
  font-family: 'Times New Roman', Times, serif;
  box-sizing: border-box;
}

.rightSection {
  width: 35%;
  height: 39rem;
}

/* Fixed ID Card layout container */
.ID {
  height: 100%;
  width: 100%;
  /* Changed to 100% to fill the 35% width constraint smoothly */
  max-width: 400px;
  /* Prevents stretching too wide */
  background-color: #fdfbf7;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #eae5d8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Image header canvas styling */
.IDimage {
  height: 35%;
  width: 100%;
  background-color: #f7f4e9;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.avatar-circle {
  width: 100%;
  height: 100%;
  background-color: white;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.avatar-circle img {
  width: 90%;
  object-fit: cover;
}

/* Identity text styles */
.IDname {
  font-size: 30px;
  font-weight: 800;
  color: #c48a5c;
  margin-top: 12px;
}

.IDdep {
  padding: 5px;
  font-size: 20px;
  font-weight: 700;
  color: #1e2522;
  margin-top: 2px;
}

.IDdes {
  padding: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #5c6460;
  margin-top: 2px;
}

/* Experience Metric block layouts */
.IDexp {
  display: flex;
  justify-content: space-around;
  width: 90%;
  margin-top: 15px;
  background: #f7f4e9;
  padding: 8px;
  border-radius: 10px;
}

.exp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
}

.exp-item strong {
  color: #c48a5c;
  font-size: 20px;
}

.exp-item span {
  font-size: 15px;
  color: #5c6460;
}

/* Category structural headings style */
.Skills1,
.Pro1 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1e2522;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 6px;
}

.Skills2 {
  font-size: 12px;
  font-weight: 600;
  color: #5c6460;
  text-align: center;
}

/* Project sub-grid layouts */
.IDpro {
  width: 90%;
  font-family: 'Times New Roman', Times, serif;
}

.Pro1 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #1e2522;
}

.Pro2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-box {
  background-color: #f2ebd9;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  box-sizing: border-box;
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.project-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 8px 0;
}

.project-box p {
  font-size: 11px;
  line-height: 1.4;
  color: #4a3e3d;
  margin: 0;
}


/* Footer alignment strip bar */
.IDfooter {
  width: 100%;
  margin-top: auto;
  /* Pushes footer bar to the very bottom */
  background-color: #c48a5c;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: #ffffffd0;
  text-decoration: none;
  font-size: 11px;
  margin-right: 8px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 10px;
  color: #ffffffa0;
}



/* Base Layout Setup */
#About {
  margin-top: 40px;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  background-color: #f7f3ee;
  /* Uniform clean cream background */
  font-family: 'Times New Roman', Times, serif;
}

.Amain {
  width: 85%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  /* Clean dynamic separation between columns */
}

/* Left Column Styling */
.Aleft {
  width: 48%;
}

.A1 {
  font-size: 13px;
  font-family: ubuntu;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #c48a5c;
  margin-bottom: 12px;
}

.A2 {
  font-size: 44px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 28px;
}

.A3 p,
.A4 p,
.A5 p,
.A6 p {
  font-size: 15px;
  word-spacing: 5px;
  font-style: italic;
  color: #555555;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* Metadata Cards Grid */
.aboutdetails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.A7heading {
  background-color: #ffffff;
  border: 1px solid #efeae4;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.A7heading:nth-child(3) {
  grid-column: 1;
  /* Keeps Languages pinned to first column row 2 */
}

.A7heading .label {
  font-size: 11px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c48a5c;
}

.A7heading .value {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

/* Right Column (Experience Section) Styling */
.experience-section {
  width: 48%;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.section-title .line {
  width: 24px;
  height: 2px;
  background-color: #c48a5c;
}

.section-title .text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #c48a5c;
}

/* Timeline Vertical Track Layout */
.timeline {
  position: relative;
  border-left: 2px solid #efeae4;
  padding-left: 32px;
  margin-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -41px;
  top: 4px;
  width: 14px;
  height: 14px;
  background-color: #c48a5c;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #f7f3ee;
}

.timeline-date {
  font-size: 20px;
  font-weight: 600;
  color: #c48a5c;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.timeline-role {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px 0;
}

.timeline-role .at {
  font-weight: 400;
  color: #777777;
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666666;
  margin: 0;
}

#Education {
  margin-top: 40px;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  background-color: #f7f3ee;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.B1 {
  width: 80%;
  max-width: 1200px;
}

.B2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #c48a5c;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.B3 {
  font-size: 44px;
  font-weight: 700;
  color: black;
  font-style: italic;
  margin-bottom: 15px;
}

.B4 {
  font-size: 16px;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  color: #555555;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 500px;
}

.cards-container {
  width: 100%;
  display: flex;
  gap: 30px;
}

.education-card {
  flex: 1;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #e2dcd5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-number {
  width: 40px;
  height: 40px;
  background-color: #f7f3ee;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.Stitle {
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.Shigh {
  font-size: 14px;
  font-family: 'Times New Roman', Times, serif;
  color: #c48a5c;
  font-weight: 500;
  margin-bottom: 6px;
}

.Syear {
  font-size: 13px;
  color: #999999;
  margin-bottom: 20px;
}

.Sdetail {
  font-size: 14px;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  color: #666666;
  line-height: 1.6;
}

#Skills {
  padding: 80px 0;
  display: flex;
  justify-content: center;
  background-color: #FAF6F0;
  /* Soft off-white background */
  font-family: 'Playfair Display', 'Georgia', serif;
  /* Elegant heading font choice */
}

.SS1 {
  width: 85%;
  max-width: 1200px;
}

.S3 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #c48a5c;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.S4 {
  font-size: 56px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.S4 span {
  font-style: italic;
  font-weight: 400;
  color: #c58652;
  /* Premium accent color */
}

.S5 {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 16px;
  color: #666666;
  margin-bottom: 60px;
  line-height: 1.6;
  max-width: 550px;
}

.S2 {
  display: flex;
  gap: 80px;
}

.S2left,
.S2right {
  flex: 1;
}

.S2heading {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.S2heading .icon {
  font-size: 20px;
}

.S2body {
  font-family: ubuntu;
}

/* Left Column List Styling */
.S2body ul {
  padding: 0;
  margin: 0;
}

.S2body ul li {
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: #2c2c2c;
  padding: 14px 0;
  border-bottom: 1px solid #e8e4de;
}

/* Right Column Grid/Flex Tags Styling */
.S2items-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.S2items {
  font-size: 14px;
  font-weight: 500;
  color: #4a4a4a;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid #eae6df;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.S2items:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-color: #c58652;
}

.tag-icon {
  font-size: 14px;
}

#Projects {
  padding: 80px 0;
  display: flex;
  justify-content: center;
  background-color: #FDF9F3;
  /* Very soft cream background matching the image */
}

.P1 {
  width: 85%;
  max-width: 1200px;
  /* Prevents text from stretching too wide on massive screens */
}

/* "WHAT I'VE BUILT" label */
.P2 {
  font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #C05621;
  /* Rust / Orange-brown tone */
  margin-bottom: 12px;
}

/* "Featured Projects" title */
.P3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 3rem;
  /* Large elegant heading */
  font-weight: 700;
  color: black;
  /* Darker accent brown */
  margin-bottom: 16px;
}

/* Description text */
.P4 {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #4A5568;
  /* Soft charcoal grey for readability */
  line-height: 1.6;
  max-width: 600px;
  /* Keeps the text length readable instead of stretching full width */
}

.P5 {
  display: flex;
}

.Pitems {
  margin: 20px;
  height: 85vh;
  width: 30%;
  border: #1a1a1a 2px solid;
  border-radius: 25px;
}

.Pitems-image {
  width: 100%;
  /* Set your desired fixed height */
  overflow: hidden;
  /* Clips any overflow */
}

.Pitems-image img {
  width: 100%;
  height: 80%;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.Pitems-box {
  margin: 10px;
}

.Pitems1-containers {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
}

.Pitems1 {
  font-size: 14px;
  font-weight: 500;
  color: #4a4a4a;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid #eae6df;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.Pitems1:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-color: #c58652;
}

.Pitems2 {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 500;
  padding: 0 15px;
  margin-bottom: 10px;
}

.Pitems3 {
  padding: 0 15px;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  word-spacing: 5px;
  font-size: .96rem;
  color: #4A5568;
  /* Soft charcoal grey for readability */
  line-height: 1.6;
  max-width: 600px;
}

.Pitems4-container {
  display: flex;

}
.Pitems4-container a{
  text-decoration: none;
  color: #000000;
}

.Pitems4 {
  margin: 15px;
  border-bottom: #7a7a7a solid 2px;
  padding: 5px;
}

.Pitems4:hover {
  margin: 15px;
  color: #c58652;
  border-bottom: #c58652 solid 2px;
}

.Pitems5 {
  margin: 15px;
  border-bottom: #7a7a7a solid 2px;
  padding: 5px;
}

.Pitems5:hover {
  margin: 15px;
  color: #c58652;
  ;
  border-bottom: #c58652 solid 2px;
}

/* Container & Layout Framework */
#Achievements {
  padding: 80px 0;
  display: flex;
  justify-content: center;
  background-color: #FDF9F3;
  /* Your custom matching cream background */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.achievements-container {
  width: 100%;
  max-width: 1140px;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Typography & Header Elements */
.achievements-header {
  margin-bottom: 50px;
}

.achievements-badge {
  font-size: 11px;
  letter-spacing: 2px;
  color: #c5a880;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.achievements-badge::before {
  content: '';
  width: 12px;
  height: 1px;
  background-color: #c5a880;
}

.achievements-title {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.achievements-title .ampersand {
  font-weight: 400;
  color: #1a1a1a;
}

.achievements-title .cert-text {
  color: #e28743;
  font-style: italic;
  font-weight: 600;
}

.achievements-desc {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  word-spacing: 5px;
  font-size: 15px;
  color: #706b63;
  max-width: 550px;
  line-height: 1.5;
}

/* Grid Splitting Structure */
.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.column-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 25px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* Left side elements: Cards styling */
.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cert-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
}

.cert-num {
  width: 38px;
  height: 38px;
  background-color: #e28743;
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
}

.cert-body h3 {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 2px;
  line-height: 1.3;
}

.cert-body p {
  font-size: 12px;
  color: #e28743;
  font-weight: 500;
}

/* Right side elements: List styling */
.awards-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.award-item {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #f1eae0;
  padding-bottom: 24px;
}

.award-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.award-index {
  font-size: 24px;
  font-weight: 500;
  color: #ebdcd0;
  line-height: 1;
  padding-top: 2px;
}

.award-body h3 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 6px;
}

.award-body p {
  font-family: 'Times New Roman', Times, serif;
  word-spacing: 5px;
  font-style: italic;
  font-size: 13px;
  color: #837d73;
  line-height: 1.5;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .achievements-title {
    font-size: 34px;
  }
}

/* Container & Framework Setup */
#Lets-Talk {
  padding: 80px 0;
  display: flex;
  justify-content: center;
  background-color: #FDF9F3;
  /* Fixed matching cream background */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.contact-container {
  width: 100%;
  max-width: 1140px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  box-sizing: border-box;
}

/* Left Column Styling */
.contact-info-col {
  display: flex;
  flex-direction: column;
}

.contact-badge {
  font-size: 11px;
  letter-spacing: 2px;
  color: #c5a880;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-badge::before {
  content: '';
  width: 12px;
  height: 1px;
  background-color: #c5a880;
}

.contact-title {
  font-size: 42px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.contact-title .italic-text {
  color: #e28743;
  font-style: italic;
  font-weight: 600;
}

.contact-desc {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  word-spacing: 5px;
  font-size: 14.5px;
  color: #666159;
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 36px;
}

/* Social & Contact Card Components */
.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 440px;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.card-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* Custom icon tint colors */
.email-bg {
  background-color: #fcefe9;
  color: #e28743;
}

.linkedin-bg {
  background-color: #e8f0fe;
  color: #1a73e8;
}

.github-bg {
  background-color: #f1f3f4;
  color: #333333;
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #a09a90;
}

.card-value {
  font-size: 13.5px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.card-value:hover {
  color: #e28743;
}

/* Right Column Input Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 10px;
  font-weight: 700;
  color: #555047;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #1a1a1a;
  box-sizing: border-box;
  outline: none;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b0aaa0;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #e28743;
}

.contact-form textarea {
  resize: vertical;
}

/* Select Box wrapper dropdown indicator customization */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-wrapper::after {
  content: '▾';
  font-size: 12px;
  color: #777;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Dark Pill Action Button */
.submit-btn {
  background-color: #111111;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease;
  margin-top: 4px;
}

.submit-btn:hover {
  background-color: #2a2a2a;
}

.submit-btn span {
  font-size: 11px;
}

/* Responsive Adaptive Viewports */
@media (max-width: 991px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-title {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .form-row-split {
    grid-template-columns: 1fr;
  }
}


@media screen and (max-width: 768px) { /* Responsive for Mobile Purpose only */

  /* Hides your navigation header element */
  nav {
    display: none;
  }

  #Home {
    display: flex;
    flex-direction: column-reverse;
    /* Flips sections vertically */
    padding: 10% 5%;
    /* Reduced slightly to keep content visible */
    box-sizing: border-box;
    /* Keeps padding from inflating total width */
    width: 100%;
    margin-top: 0px;
    align-items: center;
    justify-content: center;
  }

  .leftSection {
    width: 100%;
    /* Lets it stretch nicely across mobile rows */
    height: auto;
    /* FIX: Prevents container overflow on screens */
    min-height: 200px;
    /* Optional minimum floor fallback boundary */
  }

  .rightSection {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
  }


  .project-box {
    padding: 10px;
    margin-bottom: 10px;
  }

  .Amain {
    display: block;
  }

  .Aleft {
    width: 100%;
    margin-bottom: 30px;
  }

  .experience-section{
    width: 100%;
  }

  .B1{
    display: block;
  }

  .cards-container{
    display: flex;
    flex-direction: column;
  }

  .SS1{
    display: block;
  }

  .S2{
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .P1{
    display: block;
  }

  .P5{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0px;
  }
  .Pitems{
    width: 100%;
    height: auto;
  }

  .achievements-container{
    display: block;
  }

  .achievements-header, .achievements-grid, .achievements-col{
    width: 100%;
    height: auto;
  }

  .contact-container{
    display: block;
  }

  .contact-info-col,.contact-cards-stack,.contact-card,.contact-form-col{
    width: 100%;
    height: auto;
  }

  .contact-form{
    margin-top: 7rem;
  }
}
